﻿<Window x:Class="Калькулятор.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Калькулятор"
        mc:Ignorable="d"
        Title="Калькулятор" Height="406" Width="303" ResizeMode="NoResize">
    <Grid Background="Aqua" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <TextBox FontSize="40" Height="70" BorderBrush="Black" Grid.ColumnSpan="4" VerticalAlignment="Top" Margin="3,3,3,3" x:Name="tb_Text"/>
        <Button Grid.Column="0" Grid.Row="1" Content="C" FontSize="30" x:Name="btn_Clear" Click="btn_Clear_Click"/>
        <Button Grid.Column="1" Grid.Row="1" Content="%" FontSize="30" x:Name="btn_Procent" Click="btn_Procent_Click"/>
        <Button Grid.Column="2" Grid.Row="1" Content="√" FontSize="30" x:Name="btn_Root" Click="btn_Root_Click"/>
        <Button Grid.Column="3" Grid.Row="1" Content="Backspace" x:Name="btn_BackSpace" Click="btn_BackSpace_Click"/>
        <Button Grid.Column="0" Grid.Row="2" Content="1" FontSize="30" x:Name="btn_1" Click="btn_1_Click"/>
        <Button Grid.Column="1" Grid.Row="2" Content="2" FontSize="30" x:Name="btn_2" Click="btn_2_Click"/>
        <Button Grid.Column="2" Grid.Row="2" Content="3" FontSize="30" x:Name="btn_3" Click="btn_3_Click"/>
        <Button Grid.Column="3" Grid.Row="2" Content="/" FontSize="30" x:Name="btn_Division" Click="btn_Division_Click"/>
        <Button Grid.Column="0" Grid.Row="3" Content="4" FontSize="30" x:Name="btn_4" Click="btn_4_Click"/>
        <Button Grid.Column="1" Grid.Row="3" Content="5" FontSize="30" x:Name="btn_5" Click="btn_5_Click"/>
        <Button Grid.Column="2" Grid.Row="3" Content="6" FontSize="30" x:Name="btn_6" Click="btn_6_Click"/>
        <Button Grid.Column="3" Grid.Row="3" Content="+" FontSize="30" x:Name="btn_Plus" Click="btn_Plus_Click"/>
        <Button Grid.Column="0" Grid.Row="4" Content="7" FontSize="30" x:Name="btn_7" Click="btn_7_Click"/>
        <Button Grid.Column="1" Grid.Row="4" Content="8" FontSize="30" x:Name="btn_8" Click="btn_8_Click"/>
        <Button Grid.Column="2" Grid.Row="4" Content="9" FontSize="30" x:Name="btn_9" Click="btn_9_Click"/>
        <Button Grid.Column="3" Grid.Row="4" Content="*" FontSize="30" x:Name="btn_Multiplication" Click="btn_Multiplication_Click"/>
        <Button Grid.Column="0" Grid.Row="5" Content="=" FontSize="30" x:Name="Equally" Click="Equally_Click"/>
        <Button Grid.Column="1" Grid.Row="5" Content="0" FontSize="30" x:Name="btn_0" Click="btn_0_Click"/>
        <Button Grid.Column="2" Grid.Row="5" Content="." FontSize="30" x:Name="Point" Click="Point_Click"/>
        <Button Grid.Column="3" Grid.Row="5" Content="-" FontSize="30" x:Name="Minus" Click="Minus_Click"/>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
    </Grid>
</Window>
